package com.storage.system.vo;

import java.math.BigDecimal;
import java.util.List;

public class GoodsDetailInfo {

    /**
     * 属性名称
     */
    private String propertieName;
    /**
     * 属性集
     */
    private List<PropertiesValue> propertiesValues;
    /**
     * 进货价
     */
    private BigDecimal purchasePrice;
    /**
     * 批发价
     */
    private BigDecimal tradePrice;
    /**
     * 零售价
     */
    private BigDecimal retailPrice;
    /**
     * 总库存
     */
    private Long totalStock;

    /**
     * 预警
     */
    private Integer warning;

    public String getPropertieName() {
        return propertieName;
    }

    public void setPropertieName(String propertieName) {
        this.propertieName = propertieName;
    }

    public List<PropertiesValue> getPropertiesValues() {
        return propertiesValues;
    }

    public void setPropertiesValues(List<PropertiesValue> propertiesValues) {
        this.propertiesValues = propertiesValues;
    }

    public BigDecimal getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(BigDecimal purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public BigDecimal getTradePrice() {
        return tradePrice;
    }

    public void setTradePrice(BigDecimal tradePrice) {
        this.tradePrice = tradePrice;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public Long getTotalStock() {
        return totalStock;
    }

    public void setTotalStock(Long totalStock) {
        this.totalStock = totalStock;
    }

    public Integer getWarning() {
        return warning;
    }

    public void setWarning(Integer warning) {
        this.warning = warning;
    }

    public class PropertiesValue {

        /**
         * id
         */
        private Long id;
        /**
         * 属性值
         */
        private String propertiesValue;
        /**
         * 单品库存
         */
        private Long stock;

        public String getPropertiesValue() {
            return propertiesValue;
        }

        public void setPropertiesValue(String propertiesValue) {
            this.propertiesValue = propertiesValue;
        }

        public Long getStock() {
            return stock;
        }

        public void setStock(Long stock) {
            this.stock = stock;
        }


        public Long getId() {
            return id;
        }

        public void setId(Long id) {
            this.id = id;
        }
    }
}
